


<footer>
    <div>
        <p>版权所有&copy;某个出名的小天才  LY</p>
    </div>    
    
</footer>




<style>
    footer{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background-color: #000;
        color: #fff;
        /* height: 50px; */

        /* position: fixed;
        bottom:0;
        left:0;
        width:100%;
        background:#222;
        color:#fff;
        height:50px; */
    }

    footer div p{
        text-align: center;
        /* height:50px;
        line-height:50px; */
        font-size:16px;
    }
</style>